<!-- Header Carousel -->
<header id="myCarousel" class="carousel slide">
    <!-- Indicators -->
    <ol class="carousel-indicators">
        <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
    </ol>

    <!-- Wrapper for slides -->
    <div class="carousel-inner">
        <div class="item active">
            <a href="javascript:">
                <div class="fill" style="background-image:url('');"></div>
                <div class="carousel-body">
                    <div class="container">
                        <h1 class="display-1 text-white">开发示例</h1>
                        <h2 class="display-4 text-white">表格、登录相关示例</h2>
                    </div>
                </div>
            </a>
        </div>
    </div>
</header>

<!-- Page Content -->
<div class="container">

    <!-- Marketing Icons Section -->
    <div class="row">
        <div class="col-lg-12">
            <h2 class="page-header">
                基础模块
            </h2>
        </div>
        <div class="col-md-4">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h4><i class="fa fa-fw fa-user"></i> 前台模块</h4>
                </div>
                <div class="panel-body">
                    <p>前台模块中包含基础的会员模块，前台模块中的会员账号和API模块中的会员账号是同一账号体系</p>
                    <a href="{:url('index/index/index')}" target="_blank" class="btn btn-primary">立即访问</a>
                    <a href="{:url('index/user/index')}" target="_blank" class="btn btn-default">会员中心</a>
                </div>
            </div>
        </div>
        <div class="col-md-4">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h4><i class="fa fa-fw fa-gift"></i> API模块</h4>
                </div>
                <div class="panel-body">
                    <p>API模块中包含基础的会员模块，初始化模块、短信发送模块、验证模块</p>
                    <a href="{:url('api/index/index')}" target="_blank" class="btn btn-primary">立即访问</a>
                    <a href="{:url('api/common/init')}?version=1.0.0" target="_blank" class="btn btn-default">初始化接口</a>
                </div>
            </div>
        </div>
        <div class="col-md-4">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h4><i class="fa fa-fw fa-compass"></i> API文档</h4>
                </div>
                <div class="panel-body">
                    <p>当写完API接口以后，可通过执行php think api一键生成我们所需要的API文档，并且可以直接在线测试</p>
                    <a href="{:url('/')}api.html" target="_blank" class="btn btn-primary">立即访问</a>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <h2 class="page-header">
                功能示例
            </h2>
        </div>
        <div class="col-md-4">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h4><i class="fa fa-fw fa-check"></i> 使用模板标签和变量</h4>
                </div>
                <div class="panel-body">
                    <a href="{:addon_url('example/demo/index',[':name'=>'s1'])}" class="btn btn-success">查看示例</a>
                </div>
            </div>
        </div>
        <div class="col-md-4">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h4><i class="fa fa-fw fa-gift"></i> 访问不需要登录的页面</h4>
                </div>
                <div class="panel-body">
                    <a href="{:addon_url('example/demo/demo1',[':name'=>'s2'])}" class="btn btn-success">立即访问</a>
                </div>
            </div>
        </div>
        <div class="col-md-4">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h4><i class="fa fa-fw fa-compass"></i> 访问需要登录的页面</h4>
                </div>
                <div class="panel-body">
                    <a href="{:addon_url('example/demo/demo2',[':name'=>'s3'])}" class="btn btn-success">立即访问</a>
                </div>
            </div>
        </div>
    </div>
    <!-- /.row -->

    <hr>

</div>
